package com.ty.user.starter.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author minku
 * @since 2021-10-16
 */
@Data
public class DeptVo implements Serializable {

    private static final long serialVersionUID = -220234889617125944L;
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("父id")
    private Long parentId;

    @ApiModelProperty("部门名称")
    private String name;

    @ApiModelProperty("排序")
    private Integer sort = 0;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("子部门")
    private List<DeptVo> children;
    
}
